﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using QLNH_DAO_WS.DataEntity;

namespace QLNH_DAO_WS.DAO
{
    public class Singleton
    {
        //Single QLNHangEntities  
        private static QLNHangEntities context = null;

        public static QLNHangEntities GetContext()
        {
            if (context == null)
                context = new QLNHangEntities();

            return context;
        }
    }
}